<template>
  <div id="gD1">
    

       <div id="gDescribe">
         <p>游戏描述</p>
         <div class="text">{{game.gameDescribe}}</div>
       </div>

       <div id="gInfo">
         <p>信息</p>
         <div >
          <div class="t">
            <p>类型</p>
          </div>
         <div class="c">
           <p>{{game.gameInfo.gameClass}}</p>
          </div>
         </div>
         <div >
          <div class="t">
            <p>大小</p>
          </div>
         <div class="c">
           <p>{{game.gameInfo.gameSize}}</p>
          </div>
         </div>
         <div >
          <div class="t">
            <p>版本</p>
          </div>
         <div class="c">
           <p>{{game.gameInfo.gameVersion}}</p>
          </div>
         </div>
         <div >
          <div class="t">
            <p>语言</p>
          </div>
         <div class="c">
           <p>{{game.gameInfo.gameLanguage}}</p>
          </div>
         </div>
         <div >
          <div class="t">
            <p>最后更新</p>
          </div>
         <div class="c">
           <p>{{game.gameInfo.LastUpdate}}</p>
          </div>
         </div>
       
       </div>
  </div>
</template>

<script>
  export default {
  name: 'app',
  data () {
    return {

      game:{
        gameInfo:{}
      },
    }
  },
   mounted(){
     
          this.game=this.$store.state.game[this.$store.state.gameId];
          console.log(this.game.gameName);
        },
  methods: {

           
            
        }
 
}
</script>

<style>

#gD1{
  padding-bottom: 15%
}
</style>
